#include "StdAfx.h"
#include "HotkeyPlugin.h"

CHotkeyPlugin::CHotkeyPlugin(void)
{
}

CHotkeyPlugin::~CHotkeyPlugin(void)
{
}


LRESULT CHotkeyPlugin::Initialize(IMainDlg* dlgMain, CWnd* pParent, ISetting* setting, ILang* lang) {
	// Initialize Main Dialog
	dlgPlugin = new CHotKeyDlg(pParent);
	dlgPlugin->Create(IDD_HOTKEY, pParent);	

	return S_OK;
}

void CHotkeyPlugin::GetName(CString *sName) {
	*sName  = L"Auto Hot-Key";
}

int CHotkeyPlugin::GetOrder() {
	return 300;
}

CDialog* CHotkeyPlugin::GetDialog() {
	return dlgPlugin;
}